<%-- 
    Document   : cadastroUsuario
    Created on : Nov 15, 2011, 1:34:50 PM
    Author     : Jun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    
    <body><div id="container"><div id="content">
        <%@include file="topo.jsp" %>
        <%@ page import="br.objetos.*, java.util.*" %>
       

      
        <table border="0" cellspacing="5" cellpadding="5" width="100%">
            <tr>
                <th>
                    <%@include file="abalateral.jsp" %>
                </th>
            </tr><tr>
                <th align="left">
                      <h1>Cadastro de Usuario</h1>
                       <%
                            UsuarioMetodos um = new UsuarioMetodos();
                            if (request.getParameter("inserted") != null) {
                                um = (UsuarioMetodos) session.getAttribute("Usuario");
                        %>
                        <p>Usuario <%= um.getUsuario().getUsername() %> inserido com sucesso.</p>
                        <%
                            }
                        %>
                    <form action="cadastroUsuarioDo.jsp" method="post">
                        <table border="0" cellspacing="2">
                            <tr>
                                <th align="right">Login: </th>
                                <th><input type="text" name="username" size="60"><th/>
                            </tr>
                            <tr>
                                <th align="right">Senha: </th>
                                <th><input type="password" name="senha" size="60"><th/>
                            </tr>
                            <tr>
                                <th align="right">Confirmar Senha: </th>
                                <th><input type="password" name="confSenha" size="60"><th/>
                            </tr>
                            <tr>
                                <th align="right">Email: </th>
                                <th><input type="text" name="email" size="60"><th/>
                            </tr>
                            
                            <tr>
                                <th>
                                    
                                </th>
                                <th>
                                    <input type="submit" value="Cadastrar" />
                                </th>
                                   
                                    
                            </tr>
                            
                        </table>
                    </form>
                </th>
            </tr>
        </table>
            
        
    </div><div id="footer" align="center"><%@include file="footer.jsp" %></div></div></body>
</html>


